// P1855 write by cn_ryh